#include <iostream>
using namespace std;
#include <boost/rational.hpp>
#include <boost/format.hpp>
using namespace boost;

int main()
{
    rational<int> a(2, 6);
    rational<int> b(2, 3);
    cout << a+b << endl;

    return 0;
}
